/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.jdesktop.wonderland.modules.hslutemplatecell.common;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import org.jdesktop.wonderland.common.cell.state.CellServerState;
import org.jdesktop.wonderland.common.cell.state.annotation.ServerState;

/**
 *
 * @author Dominik
 */
@XmlRootElement(name = "hslu-template-cell")
@ServerState
public class TemplateCellServerState extends CellServerState {

    @XmlElement(name = "season-type")
    private String shapeType = "SUMMER";

    public TemplateCellServerState() {
    }
    
    public TemplateCellServerState(String shape) {
        this.shapeType = shape;
    }

    @XmlTransient
    public String getShapeType() {
        return this.shapeType;
    }

    public void setShapeType(String shapeType) {
        this.shapeType = shapeType;
    }

    @Override
    public String getServerClassName() {
        return "org.jdesktop.wonderland.modules.hslutemplatecell.server.TemplateCellMO";
    }
}
